package com.tgky.ybzb.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tgky.ybzb.common.PageParam;
import com.tgky.ybzb.entity.SysDict;
import com.tgky.ybzb.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 系统用户 服务类
 *
 * @author XYP
 * @since 2024-07-22
 */
public interface ISysUserService extends IService<SysUser> {

    /**
     * 通过实体类获取QueryWrapper
     * @param pageParam 分页参数
     * @param sysUser 实体信息
     * @return
     */
    QueryWrapper<SysUser> getQueryWrapper(PageParam pageParam, SysUser sysUser);

    /**
     * 获取字典值
     * @return
     */
    Map<String,List<SysDict>> getDictList();
}
